package com.zhaodi.mybatisflexdemo.es.domain;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @author GuoAo
 * @className BsUserInfo
 * @date 2025/4/14
 * @description TODO
 */
@Data
@Accessors(chain = true)
@Document(indexName = "user")
public class BsUserInfo {
    @Id
    private Long id;
    private String userName;
    private String userCode;
    private String userPhone;
    private String userEmail;
    private String userAddress;
}
